package com.ssy.lingxi.member.merchant;

import com.ssy.lingxi.member.merchant.config.ServiceVariable;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * 会员服务
 * @author 万宁
 * @version 2.0.0
 */
@SpringBootApplication
@EnableAsync
@EnableConfigurationProperties(ServiceVariable.class)
@ComponentScan(basePackages = {"com.ssy.lingxi"})
@EntityScan(basePackages = "com.ssy.lingxi.member.merchant.entity")
@EnableFeignClients(basePackages = {"com.ssy.lingxi.workflow.api.feign", "com.ssy.lingxi.sms.api.feign", "com.ssy.lingxi.pay.api.feign", "com.ssy.lingxi.order.api.feign", "com.ssy.lingxi.platform.manage.api.feign", "com.ssy.lingxi.report.api.feign", "com.ssy.lingxi.message.api.feign", "com.ssy.lingxi.product.api.feign", "com.ssy.lingxi.platform.template.api.feign.inner", "com.ssy.lingxi.scheduler.api.feign", "com.ssy.lingxi.logistics.api.feign"})
public class MerchantMemberServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(MerchantMemberServiceApplication.class, args);
    }

}
